package com.elective.status;

/**
 * 返回码
 */
public class StatusCode {
    public static final int OK = 20000;//成功
    public static final int ERROR = 20001;//失败
    public static final int LOGINERROR = 20002;//用户名或密码错误
    public static final int ACCESSERROR = 20003;//权限不足
    public static final int REMOTEERROR = 20004;//远程调用失败
    public static final int REPERROR = 20005;//重复操作
    public static final int NORMAL = 0;//正常
    public static final int ROLE_STU = 2;//学生
    public static final int ROLE_TEA = 1;//老师
    public static final int ROLE_ADMIN = 0;//管理员

    public static final int COURSE_MODIFY = 1;//修改中
    public static final int COURSE_FORBID = 2;//课程禁用
    public static final int ABANDON = 2;//弃用
    public static final int ANSWER_PRE_SELECT = 0;//预选课中
    public static final int ANSWER_SUCCESS_SELECT = 1;//预选课成功
    public static final int ANSWER_FAIL_SELECT = 2;//预选课失败
}
